﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MvcWiki.Repository.FileSystem
{
    public interface IFileSystemWrapper
    {
        bool FileExists(string path);

        string ReadFromFile(string path);

        void WriteToFile(string path, string contents);

        string[] GetFiles(string path, string mask);

        void CreateDirectory(string path);

        string[] GetDirectories(string path, string searchPattern);

        void MoveDirectory(string sourceDirName, string destDirName);

        void DeleteFile(string path);

        void DeleteDirectory(string path);
    }
}
